package cn.lightpm.entity.message;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import cn.lightpm.entity.AbstractEntity;

@Entity
@Table(name = "MESSAGE")
public class Message extends AbstractEntity {

	private static final long serialVersionUID = -3525182436916674466L;
	
	private String title;
	
	private String content;

	@Column(nullable = false)
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
